//
//  Person.h
//  GFrameWork
//
//  Created by Leona on 14-8-20.
//  Copyright (c) 2014年 Gable. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject

@property (nonatomic)BOOL isLogined;
@property (strong, nonatomic)NSString *userId;
@property (strong, nonatomic)NSString *secret;
@property (strong, nonatomic)NSString *token;
@property (strong, nonatomic)NSString *lat;
@property (strong, nonatomic)NSString *lng;
@property (strong, nonatomic)NSString *countryId;//国家id
@property (strong, nonatomic)NSString *cityId;//城市id
@property (strong, nonatomic)NSString *deviceId;//设备id

@property (strong, nonatomic)NSTimer *scrollTimer;//循环轮播的定时器 当APP进入后台运行时要控制不能轮播

+ (Person *) sharePerson;

- (void)getDataDicToPerson:(NSDictionary *)dic;
- (id)initwithdic:(NSDictionary *)dic;
-(void)registerJpushAlais:(id)obj andType:(BOOL)isClear;//obj:哪个类要注册别名 isClear:是注册还是清空
@end
